<!--{template 'header'}-->
<!-- Container -->
<div id="container">
  <div class="shell">
    <!-- Main -->
    <div id="main">
      <div class="cl">&nbsp;</div>
      <!-- Content -->
      <div id="content">
        <!-- Box -->
        <div class="box">
          <!-- Box Head -->
          <div class="box-head">
            <h2 class="left">DKP分类</h2>
            <div class="right">
              <!--label>search articles</label>
              <input type="text" class="field small-field" />
              <input type="submit" class="button" value="search" /-->
            </div>
          </div>
          <!-- End Box Head -->
          <!-- Table -->
          <div class="table">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <th width="26">图标</th>
                <th>名称</th>
                <th>说明</th>
                <th width="160" class="ac">管理</th>
              </tr>
			  <!--{loop $rows $row}-->
              <tr class="$row[class]">
                <td><img src="./cacheimg.php?img={echo base64_encode($row[d_icon])}" width="32" height="32"></td>
                <td>$row[d_name]</td>
                <td><h3>$row[d_cmt]</h3>
                [<a href="./?admin/dkp/boss&dkpid=$row[d_id]">BOSS得分</a>-<a href="#">生成DKP</a>]-<a href="#">查看DKP</a>
                </td>
                <td><a href="./?admin/dkp&action=edit&dkpid=$row[d_id]" class="ico edit">编辑</a> <a href="./?admin/dkp&action=del&dkpid=$row[d_id]" class="ico del" onclick="return confirm('你确定要删除DKP分类$row[d_name]?')">删除</a></td>
              </tr>
			  <!--{/loop}-->
            </table>
            <!-- Pagging -->
            <div class="pagging">
              <div class="left">共有{echo $pager->tRow}条记录</div>
              <div class="right"><!--{echo $pager->GetFullSide()}--></div>
            </div>
            <!-- End Pagging -->
          </div>
          <!-- Table -->
        </div>
        <!-- End Box -->
      </div>
      <!-- End Content -->
      <!-- Sidebar -->
	  <!--{template 'dkp_side'}-->
	  <!-- End Sidebar -->
      <div class="cl">&nbsp;</div>
    </div>
    <!-- Main -->
  </div>
</div>
<!-- End Container -->
<!--{template 'footer'}-->
